package com.bdk.middle.rule.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Reagan
 * @since 2021-04-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("r_exchange_rule_item")
public class ExchangeRuleItemEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("id")
    private String id;

    @TableField("exchange_number")
    private Integer exchangeNumber;

    @TableField("value")
    private Integer value;

    /**
     * 1.数字 2.倍数 3.百分比
     */
    @TableField("unit")
    private Integer unit;


}
